<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>微前端主应用</title>
    <style>
        body {
            margin: 0;
            font-family: Arial, sans-serif;
        }
        .header {
            background: #1890ff;
            color: white;
            padding: 20px;
            text-align: center;
        }
        nav {
            background: #f0f0f0;
            padding: 10px 20px;
        }
        nav a {
            margin-right: 15px;
            text-decoration: none;
            color: #333;
        }
        nav a:hover {
            color: #1890ff;
        }
        #subapp-container, #design {  /* 👈 添加 #design 样式 */
            padding: 20px;
            min-height: 400px;
        }
    </style>
</head>
<body>
    <div class="header">
        <h1>🚀 Qiankun 微前端主应用</h1>
    </div>
    
    <nav>
        <a href="/">首页</a>
        <a href="/design-ui">Design 应用</a>
        <a href="/app2">应用2</a>
    </nav>
    
    <!-- 子应用容器 -->
    <div id="design"></div>  <!-- 👈 添加这个容器 -->
    
    <script type="module" src="/main.js"></script>
</body>
</html>